package com.sykj.manage.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sykj.manage.dao.CustomUserDao;
import com.sykj.model.CustomUser;
import com.sykj.model.ShopCustom;
@Service
public class CustomUserServiceImpl implements CustomUserService{
	
	@Autowired
	CustomUserDao customuserdao;
	
	@Override
	public List<CustomUser> getAll(CustomUser customuser) {
		// TODO Auto-generated method stub
		return customuserdao.getAll(customuser);
	}

	@Override
	public CustomUser findAllById(String custom_user_id) {
		// TODO Auto-generated method stub
		return customuserdao.findAllById(custom_user_id);
	}

	@Override
	public int add(CustomUser customuser) {
		// TODO Auto-generated method stub
		return customuserdao.add(customuser);
	}

	@Override
	public int del(String custom_user_id) {
		// TODO Auto-generated method stub
		return customuserdao.del(custom_user_id);
	}

	@Override
	public int update(CustomUser custom_user_id) {
		// TODO Auto-generated method stub
		return customuserdao.update(custom_user_id);
	}

	@Override
	public List<CustomUser> getshop(CustomUser customuser) {
		// TODO Auto-generated method stub
		return customuserdao.getshop(customuser);
	}

	@Override
	public List<CustomUser> getbsc(CustomUser customuser) {
		// TODO Auto-generated method stub
		return customuserdao.getbsc(customuser);
	}

	@Override
	public List<CustomUser> getcu(CustomUser customuser) {
		// TODO Auto-generated method stub
		return customuserdao.getcu(customuser);
	}

	@Override
	public int addShop(ShopCustom shopcustom) {
		// TODO Auto-generated method stub
		return customuserdao.addShop(shopcustom);
	}

}
